package com.zkyc.framework.website.client;

import com.zkyc.framework.common.vo.ResultVO;
import org.springframework.stereotype.Component;

/**
 * @author bing.bai
 * @create 2022/5/27
 */
@Component
public class UserServiceFallBack implements UserClient {

    @Override
    public ResultVO<?> getUserById(String id) {
        return ResultVO.fail("服务调用失败."+id);
    }

    @Override
    public ResultVO judgeRightExist(Integer websiteId, String userId) {
        return ResultVO.fail("服务调用失败."+websiteId);
    }
}
